home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2001 May / SGI Freeware 2001 May - Disc 3.iso / dist / fw_squid.idb / usr / freeware / squid / etc / mib.txt.z / mib.txt
Text File  |  2000-04-13  |  25KB  |  902 lines

  1. SQUID-MIB  DEFINITIONS ::= BEGIN
  2. --
  3. -- $Id: mib.txt,v 1.24 1999/06/11 22:40:33 wessels Exp $
  4. --
  5.  
  6. IMPORTS
  7.     enterprises, Unsigned32, TimeTicks, Gauge32, Counter32,
  8.     MODULE-IDENTITY, OBJECT-TYPE
  9.             FROM SNMPv2-SMI
  10.  
  11.     DisplayString
  12.             FROM SNMPv2-TC;
  13.  
  14. nlanr OBJECT IDENTIFIER ::= { enterprises 3495 }
  15.  
  16. squid MODULE-IDENTITY
  17.     LAST-UPDATED "9809220000Z"
  18.     ORGANIZATION "National Laboratory for Applied Network Research"
  19.     CONTACT-INFO
  20.             "        Glenn Chisholm
  21.  
  22.              Postal: National Centre for Atmospheric Research (NCAR)
  23.              Room 36, SCD
  24.              PO Box 3000
  25.                      Boulder, Colorado 80307  
  26.                      US
  27.  
  28.                 Tel: +1 303 497 1289
  29.                 Fax: +1 303 497 1818
  30.  
  31.              E-mail: glenn@ircache.net"
  32.     DESCRIPTION
  33.         "Squid MIB defined for the management of the squid
  34.         proxy server. See http://squid.nlanr.net/."
  35.         
  36.     REVISION      "9809220000Z"
  37.     DESCRIPTION
  38.         "Move to SMIv2. Prepare to split into proxy/squid."
  39.     REVISION      "9901010000Z"
  40.     DESCRIPTION
  41.         "Added objects and corrected asn.1 syntax and 
  42.         descriptions."
  43.     ::= { nlanr 1 }
  44.  
  45. --
  46. -- OID Assignments
  47. --
  48.  
  49.     cacheSystem    OBJECT IDENTIFIER ::= { squid 1 }
  50.     cacheConfig      OBJECT IDENTIFIER ::= { squid 2 }
  51.     cachePerf    OBJECT IDENTIFIER ::= { squid 3 }
  52.     cacheNetwork    OBJECT IDENTIFIER ::= { squid 4 } 
  53.     cacheMesh    OBJECT IDENTIFIER ::= { squid 5 }
  54.  
  55.  
  56. --
  57. -- cacheSystem group
  58. --
  59.  
  60.         cacheSysVMsize OBJECT-TYPE
  61.             SYNTAX Integer32
  62.         MAX-ACCESS read-only
  63.         STATUS current
  64.         DESCRIPTION
  65.             " Storage Mem size in KB"
  66.     ::= { cacheSystem 1 }
  67.  
  68.     cacheSysStorage OBJECT-TYPE
  69.         SYNTAX Integer32
  70.         MAX-ACCESS read-only
  71.                 STATUS current
  72.                 DESCRIPTION
  73.                         " Storage Swap size in KB"
  74.         ::= { cacheSystem 2 }
  75.  
  76.     cacheUptime  OBJECT-TYPE
  77.                 SYNTAX Timeticks
  78.                 MAX-ACCESS read-only
  79.                 STATUS current
  80.                 DESCRIPTION
  81.                         " The Uptime of the cache in timeticks"
  82.     ::= { cacheSystem 3 }
  83.  
  84. --
  85. -- config group
  86. --
  87. -- Contains configuration information including peers etc.
  88. --
  89.  
  90.     cacheAdmin OBJECT-TYPE
  91.         SYNTAX DisplayString
  92.         MAX-ACCESS read-only
  93.                 STATUS current
  94.                 DESCRIPTION
  95.                         " Cache Administrator E-Mail address "
  96.     ::= { cacheConfig 1 }
  97.  
  98.         cacheSoftware OBJECT-TYPE
  99.                 SYNTAX DisplayString
  100.                 MAX-ACCESS read-only
  101.                 STATUS current
  102.                 DESCRIPTION
  103.                         " Cache Software Name "
  104.         ::= { cacheConfig 2 }
  105.  
  106.         cacheVersionId OBJECT-TYPE
  107.                 SYNTAX OCTET STRING
  108.                 MAX-ACCESS read-only
  109.                 STATUS current
  110.                 DESCRIPTION
  111.                         " Cache Software Version "
  112.         ::= { cacheConfig 3 }
  113.  
  114.     cacheLoggingFacility OBJECT-TYPE
  115.         SYNTAX DisplayString
  116.         ACCESS read-write
  117.         STATUS current
  118.         DESCRIPTION
  119.             " Logging Facility. An informational string
  120.               indicating logging info like debug level, 
  121.               local/syslog/remote logging etc " 
  122.     ::= { cacheConfig 4 } 
  123.  
  124. -- cacheStorageConfig group
  125.  
  126.     cacheStorageConfig OBJECT IDENTIFIER ::= { cacheConfig 5 }
  127.  
  128.     cacheMemMaxSize OBJECT-TYPE
  129.                 SYNTAX Integer32
  130.                 MAX-ACCESS read-only
  131.                 STATUS current
  132.                 DESCRIPTION
  133.                         " The value of the cache_mem parameter in MB"
  134.         ::= { cacheStorageConfig 1 }
  135.  
  136.         cacheSwapMaxSize OBJECT-TYPE
  137.                 SYNTAX Integer32
  138.                 MAX-ACCESS read-only
  139.                 STATUS current
  140.                 DESCRIPTION
  141.                         " The total of the cache_dir space allocated in MB"
  142.         ::= { cacheStorageConfig 2 }
  143.  
  144.         cacheSwapHighWM OBJECT-TYPE
  145.                 SYNTAX Integer32
  146.                 MAX-ACCESS read-only
  147.                 STATUS current
  148.                 DESCRIPTION
  149.                         " Cache Swap High Water Mark"
  150.         ::= { cacheStorageConfig 3 }
  151.  
  152.         cacheSwapLowWM OBJECT-TYPE
  153.                 SYNTAX Integer32
  154.                 MAX-ACCESS read-only
  155.                 STATUS current
  156.                 DESCRIPTION
  157.                         " Cache Swap Low Water Mark"
  158.         ::= { cacheStorageConfig 4 }
  159.  
  160. -- end of  cacheStorageConfig group
  161.  
  162. --
  163. -- performance group { squid 3 }
  164. --
  165.  
  166.     cacheSysPerf    OBJECT IDENTIFIER ::= { cachePerf 1 } 
  167.         cacheProtoStats OBJECT IDENTIFIER ::= { cachePerf 2 }
  168.  
  169.     --
  170.     -- cacheSysPerf 
  171.     --
  172.  
  173.         cacheSysPageFaults OBJECT-TYPE
  174.                 SYNTAX Counter32
  175.                 MAX-ACCESS read-only
  176.                 STATUS current
  177.                 DESCRIPTION
  178.                         " Page faults with physical i/o"
  179.         ::= { cacheSysPerf 1 }
  180.  
  181.         cacheSysNumReads OBJECT-TYPE
  182.                 SYNTAX Counter32
  183.                 MAX-ACCESS not-accessible
  184.                 STATUS current 
  185.                 DESCRIPTION
  186.                         " HTTP I/O number of reads" 
  187.            ::= { cacheSysPerf 2 }
  188.  
  189.     cacheMemUsage OBJECT-TYPE
  190.         SYNTAX Integer32
  191.         MAX-ACCESS read-only
  192.         STATUS     current
  193.         DESCRIPTION
  194.             " Total memory accounted for KB"
  195.     ::= { cacheSysPerf 3 } 
  196.  
  197.     cacheCpuTime OBJECT-TYPE
  198.         SYNTAX Integer32
  199.         MAX-ACCESS read-only
  200.                 STATUS  current
  201.                 DESCRIPTION
  202.                         " Amount of cpu seconds consumed"
  203.     ::= { cacheSysPerf 4 }
  204.  
  205.     cacheCpuUsage OBJECT-TYPE
  206.                 SYNTAX Integer32
  207.                 MAX-ACCESS read-only
  208.                 STATUS  current
  209.                 DESCRIPTION
  210.                         " The percentage use of the CPU"
  211.         ::= { cacheSysPerf 5 }
  212.  
  213.     cacheMaxResSize OBJECT-TYPE
  214.                 SYNTAX Integer32
  215.                 MAX-ACCESS read-only
  216.                 STATUS  current
  217.                 DESCRIPTION
  218.                         " Maximum Resident Size in KB"
  219.         ::= { cacheSysPerf 6 }
  220.  
  221.     cacheNumObjCount OBJECT-TYPE
  222.                 SYNTAX Counter32                 
  223.         MAX-ACCESS read-only
  224.                 STATUS  current
  225.                 DESCRIPTION
  226.                         " Number of objects stored by the cache"
  227.         ::= { cacheSysPerf 7 }
  228.  
  229.         cacheCurrentLRUExpiration OBJECT-TYPE
  230.                 SYNTAX TimeTicks
  231.                 MAX-ACCESS read-only
  232.                 STATUS current
  233.         DESCRIPTION
  234.             " Storage LRU Expiration Age"
  235.         ::= { cacheSysPerf 8 }
  236.  
  237.         cacheCurrentUnlinkRequests OBJECT-TYPE
  238.                 SYNTAX Counter32
  239.                 MAX-ACCESS read-only
  240.                 STATUS current
  241.         DESCRIPTION
  242.             " Requests given to unlinkd"
  243.         ::= { cacheSysPerf 9 }
  244.  
  245.         cacheCurrentUnusedFileDescrCount OBJECT-TYPE
  246.                 SYNTAX Gauge32
  247.                 MAX-ACCESS read-only
  248.                 STATUS current
  249.         DESCRIPTION
  250.             " Available number of file descriptors"
  251.         ::= { cacheSysPerf 10 }
  252.  
  253.     cacheCurrentReservedFileDescrCount  OBJECT-TYPE
  254.                 SYNTAX Gauge32
  255.                 MAX-ACCESS read-only
  256.                 STATUS current
  257.         DESCRIPTION
  258.             " Reserved number of file descriptors"
  259.         ::= { cacheSysPerf 11 }
  260.  
  261.     --
  262.     -- cacheProtoStats
  263.     --
  264.  
  265.         -- cacheProtoAggregateStats
  266.         --
  267.  
  268.     cacheProtoAggregateStats OBJECT IDENTIFIER ::= { cacheProtoStats 1 }
  269.  
  270.  
  271.     cacheClientHttpRequests  OBJECT-TYPE
  272.                 SYNTAX Counter32
  273.                 MAX-ACCESS read-only
  274.                 STATUS current
  275.         DESCRIPTION
  276.             " Number of HTTP requests received"
  277.         ::= { cacheProtoAggregateStats 1 }
  278.  
  279.         cacheHttpHits OBJECT-TYPE
  280.                 SYNTAX Counter32
  281.                 MAX-ACCESS read-only
  282.                 STATUS current
  283.         DESCRIPTION
  284.             " Number of HTTP Hits"
  285.         ::= { cacheProtoAggregateStats 2 }
  286.  
  287.         cacheHttpErrors OBJECT-TYPE
  288.                 SYNTAX Counter32
  289.                 MAX-ACCESS read-only
  290.                 STATUS current
  291.         DESCRIPTION
  292.             " Number of HTTP Errors"
  293.         ::= { cacheProtoAggregateStats 3 }
  294.  
  295.         cacheHttpInKb OBJECT-TYPE
  296.                 SYNTAX Counter32
  297.                 MAX-ACCESS read-only
  298.                 STATUS current
  299.         DESCRIPTION
  300.             " Number of HTTP KB's recieved"
  301.         ::= { cacheProtoAggregateStats 4 }
  302.  
  303.         cacheHttpOutKb OBJECT-TYPE
  304.                 SYNTAX Counter32
  305.                 MAX-ACCESS read-only
  306.                 STATUS current
  307.         DESCRIPTION
  308.                         " Number of HTTP KB's transmitted"
  309.         ::= { cacheProtoAggregateStats 5 }
  310.  
  311.     cacheIcpPktsSent OBJECT-TYPE
  312.                 SYNTAX Counter32
  313.                 MAX-ACCESS read-only
  314.                 STATUS current
  315.         DESCRIPTION
  316.                         " Number of ICP messages sent"
  317.         ::= { cacheProtoAggregateStats 6 }
  318.  
  319.     cacheIcpPktsRecv OBJECT-TYPE
  320.                 SYNTAX Counter32
  321.                 MAX-ACCESS read-only
  322.                 STATUS current
  323.         DESCRIPTION
  324.                         " Number of ICP messages received"
  325.         ::= { cacheProtoAggregateStats 7 }
  326.  
  327.         cacheIcpKbSent OBJECT-TYPE
  328.                 SYNTAX Counter32
  329.                 MAX-ACCESS read-only
  330.                 STATUS current
  331.         DESCRIPTION
  332.                         " Number of ICP KB's transmitted"
  333.         ::= { cacheProtoAggregateStats 8 }
  334.  
  335.         cacheIcpKbRecv OBJECT-TYPE
  336.                 SYNTAX Counter32
  337.                 MAX-ACCESS read-only
  338.                 STATUS current
  339.         DESCRIPTION
  340.                         " Number of ICP KB's recieved"
  341.         ::= { cacheProtoAggregateStats 9 }
  342.  
  343.         cacheServerRequests OBJECT-TYPE
  344.                 SYNTAX Integer32
  345.                 MAX-ACCESS read-only
  346.                 STATUS current
  347.         DESCRIPTION
  348.                         " All requests from the client for the cache server"
  349.         ::= { cacheProtoAggregateStats 10 }
  350.  
  351.         cacheServerErrors OBJECT-TYPE
  352.                 SYNTAX Integer32
  353.                 MAX-ACCESS read-only
  354.                 STATUS current
  355.         DESCRIPTION
  356.                         " All errors for the cache server from client requests"
  357.         ::= { cacheProtoAggregateStats 11 }
  358.  
  359.     cacheServerInKb OBJECT-TYPE
  360.                 SYNTAX Counter32
  361.                 MAX-ACCESS read-only
  362.                 STATUS current
  363.         DESCRIPTION
  364.                         " KB's of traffic recieved from servers"
  365.         ::= { cacheProtoAggregateStats 12 }
  366.  
  367.         cacheServerOutKb OBJECT-TYPE
  368.                 SYNTAX Counter32
  369.                 MAX-ACCESS read-only
  370.                 STATUS current
  371.         DESCRIPTION
  372.                         " KB's of traffic sent to servers"
  373.         ::= { cacheProtoAggregateStats 13 }
  374.  
  375.     cacheCurrentSwapSize OBJECT-TYPE
  376.                 SYNTAX Counter32
  377.                 MAX-ACCESS read-only
  378.                 STATUS current
  379.         DESCRIPTION
  380.                         " Storage Swap size"
  381.         ::= { cacheProtoAggregateStats 14 }
  382.  
  383.        cacheClients OBJECT-TYPE
  384.                 SYNTAX Counter32
  385.                 MAX-ACCESS read-only
  386.                 STATUS current
  387.         DESCRIPTION
  388.                         " Number of clients accessing cache"
  389.         ::= { cacheProtoAggregateStats 15 }
  390.  
  391.     --
  392.     -- cacheProtoMedianSvcStats group
  393.     -- 
  394.     -- This is a table, indexed by the interval we want statistics for
  395.     -- Example: cacheDnsSvcTime.10 gives 10-min medians for Dns Service Time.
  396.  
  397.     cacheMedianSvcTable OBJECT-TYPE
  398.                 SYNTAX SEQUENCE OF CacheMedianSvcEntry
  399.                 MAX-ACCESS read-only
  400.                 STATUS current
  401.     ::= { cacheProtoStats 2 }
  402.  
  403.         cacheMedianSvcEntry OBJECT-TYPE
  404.                 SYNTAX CacheMedianSvcEntry
  405.                 MAX-ACCESS not-accessible
  406.                 STATUS current
  407.                 DESCRIPTION 
  408.                         " An entry in cacheMedianSvcTable " 
  409.                 INDEX   { cacheMedianTime }
  410.         ::= { cacheMedianSvcTable 1 }
  411.  
  412.         CacheMedianSvcEntry ::= SEQUENCE {
  413.         cacheMedianTime        Integer32,
  414.         cacheHttpAllSvcTime     Integer32,
  415.         cacheHttpMissSvcTime     Integer32,    
  416.         cacheHttpNmSvcTime     Integer32,
  417.         cacheHttpHitSvcTime     Integer32,
  418.         cacheIcpQuerySvcTime     Integer32,
  419.         cacheIcpReplySvcTime     Integer32,
  420.         cacheDnsSvcTime        Integer32,
  421.         cacheRequestHitRatio    Integer32,
  422.         cacheRequestByteRatio    Integer32
  423.     }
  424.  
  425.     cacheMedianTime OBJECT-TYPE
  426.                 SYNTAX Integer32
  427.                 MAX-ACCESS read-only
  428.                 STATUS current
  429.         DESCRIPTION
  430.                         " The value used to index the table 1/5/60"
  431.         ::= { cacheMedianSvcEntry 1 }
  432.  
  433.     cacheHttpAllSvcTime OBJECT-TYPE
  434.                 SYNTAX Integer32
  435.                 MAX-ACCESS read-only
  436.                 STATUS current
  437.         DESCRIPTION
  438.                         " HTTP all service time" 
  439.         ::= { cacheMedianSvcEntry 2 } 
  440.  
  441.     cacheHttpMissSvcTime OBJECT-TYPE
  442.                 SYNTAX Integer32
  443.                 MAX-ACCESS read-only
  444.                 STATUS current
  445.         DESCRIPTION
  446.                         " HTTP miss service time"
  447.         ::= { cacheMedianSvcEntry 3 } 
  448.  
  449.     cacheHttpNmSvcTime OBJECT-TYPE
  450.                 SYNTAX Integer32
  451.                 MAX-ACCESS read-only
  452.                 STATUS current
  453.         DESCRIPTION
  454.                         " HTTP near miss service time"
  455.         ::= { cacheMedianSvcEntry 4 } 
  456.  
  457.     cacheHttpHitSvcTime OBJECT-TYPE
  458.                 SYNTAX Integer32
  459.                 MAX-ACCESS read-only
  460.                 STATUS current
  461.         DESCRIPTION
  462.                         " HTTP hit service time"
  463.         ::= { cacheMedianSvcEntry 5 } 
  464.  
  465.     cacheIcpQuerySvcTime OBJECT-TYPE
  466.                 SYNTAX Integer32
  467.                 MAX-ACCESS read-only
  468.                 STATUS current
  469.         DESCRIPTION
  470.                         " ICP query service time"
  471.         ::= { cacheMedianSvcEntry 6 } 
  472.  
  473.     cacheIcpReplySvcTime OBJECT-TYPE
  474.                 SYNTAX Integer32
  475.                 MAX-ACCESS read-only
  476.                 STATUS current
  477.         DESCRIPTION
  478.                         " ICP reply service time"
  479.         ::= { cacheMedianSvcEntry 7 } 
  480.  
  481.     cacheDnsSvcTime OBJECT-TYPE
  482.                 SYNTAX Integer32
  483.                 MAX-ACCESS read-only
  484.                 STATUS current
  485.         DESCRIPTION
  486.                         " DNS service time"
  487.         ::= { cacheMedianSvcEntry 8 } 
  488.  
  489.         cacheRequestHitRatio OBJECT-TYPE
  490.                 SYNTAX Integer32
  491.                 MAX-ACCESS read-only
  492.                 STATUS current
  493.         DESCRIPTION
  494.                         " Request Hit Ratios"
  495.         ::= { cacheMedianSvcEntry 9 }
  496.  
  497.         cacheRequestByteRatio OBJECT-TYPE
  498.                 SYNTAX Integer32
  499.                 MAX-ACCESS read-only
  500.                 STATUS current
  501.         DESCRIPTION
  502.                         " Byte Hit Ratios"
  503.         ::= { cacheMedianSvcEntry 10 }
  504.  
  505. --
  506. -- cacheNetwork group
  507. --
  508. -- This material is probably best suited elsewhere, however for now it
  509. -- will reside here until the both the Proxy and Squid MIBs are implimented.
  510. --
  511.  
  512.     cacheIpCache    OBJECT IDENTIFIER ::= { cacheNetwork 1 }
  513.     cacheFqdnCache    OBJECT IDENTIFIER ::= { cacheNetwork 2 } 
  514.     cacheDns    OBJECT IDENTIFIER ::= { cacheNetwork 3 }
  515.  
  516. --
  517. -- cacheIpCache
  518. --
  519.  
  520.     cacheEntries OBJECT-TYPE
  521.                 SYNTAX Gauge32
  522.                 MAX-ACCESS read-only
  523.                 STATUS current
  524.         ::= { cacheIpCache 1 } 
  525.  
  526.     cacheRequests OBJECT-TYPE
  527.                 SYNTAX Counter32
  528.                 MAX-ACCESS read-only
  529.                 STATUS current
  530.         ::= { cacheIpCache 2 } 
  531.  
  532.     cacheHits OBJECT-TYPE
  533.                 SYNTAX Counter32
  534.                 MAX-ACCESS read-only
  535.                 STATUS current
  536.         ::= { cacheIpCache 3 } 
  537.  
  538.     cachePendingHits OBJECT-TYPE
  539.                 SYNTAX Gauge32
  540.                 MAX-ACCESS read-only
  541.                 STATUS current
  542.         ::= { cacheIpCache 4 } 
  543.  
  544.     cacheNegativeHits OBJECT-TYPE
  545.                 SYNTAX Counter32
  546.                 MAX-ACCESS read-only
  547.                 STATUS current
  548.         ::= { cacheIpCache 5 } 
  549.  
  550.     cacheMisses OBJECT-TYPE
  551.                 SYNTAX Counter32
  552.                 MAX-ACCESS read-only
  553.                 STATUS current
  554.         ::= { cacheIpCache 6 } 
  555.  
  556.     cacheBlockingGetHostByName OBJECT-TYPE
  557.                 SYNTAX Counter32
  558.                 MAX-ACCESS read-only
  559.                 STATUS current
  560.         ::= { cacheIpCache 7 } 
  561.  
  562.     cacheAttemptReleaseLockedEntries OBJECT-TYPE
  563.                 SYNTAX Counter32
  564.                 MAX-ACCESS read-only
  565.                 STATUS current
  566.         ::= { cacheIpCache 8 } 
  567.  
  568. --
  569. -- cacheFqdnCache
  570. --
  571.  
  572.     cacheEntries OBJECT-TYPE
  573.                 SYNTAX Gauge32
  574.                 MAX-ACCESS read-only
  575.                 STATUS current
  576.         ::= { cacheFqdnCache 1 } 
  577.  
  578.     cacheRequests OBJECT-TYPE
  579.                 SYNTAX Counter32
  580.                 MAX-ACCESS read-only
  581.                 STATUS current
  582.         ::= { cacheFqdnCache 2 } 
  583.  
  584.     cacheHits OBJECT-TYPE
  585.                 SYNTAX Counter32
  586.                 MAX-ACCESS read-only
  587.                 STATUS current
  588.         ::= { cacheFqdnCache 3 } 
  589.  
  590.     cachePendingHits OBJECT-TYPE
  591.                 SYNTAX Gauge32
  592.                 MAX-ACCESS read-only
  593.                 STATUS current
  594.         ::= { cacheFqdnCache 4 } 
  595.  
  596.     cacheNegativeHits OBJECT-TYPE
  597.                 SYNTAX Counter32
  598.                 MAX-ACCESS read-only
  599.                 STATUS current
  600.         ::= { cacheFqdnCache 5 } 
  601.  
  602.     cacheMisses OBJECT-TYPE
  603.                 SYNTAX Counter32
  604.                 MAX-ACCESS read-only
  605.                 STATUS current
  606.         ::= { cacheFqdnCache 6 } 
  607.  
  608.     cacheBlockingGetHostByAddr OBJECT-TYPE
  609.                 SYNTAX Counter32
  610.                 MAX-ACCESS read-only
  611.                 STATUS current
  612.         ::= { cacheFqdnCache 7 } 
  613.  
  614. --
  615. --    cacheDNS 
  616. --
  617.  
  618.     cacheDnsRequests OBJECT-TYPE
  619.                 SYNTAX Counter32
  620.                 MAX-ACCESS read-only
  621.                 STATUS current
  622.         ::= { cacheDns 1 } 
  623.  
  624.     cacheDnsReplies OBJECT-TYPE
  625.                 SYNTAX Counter32
  626.                 MAX-ACCESS read-only
  627.                 STATUS current
  628.         ::= { cacheDns 2 } 
  629.  
  630.     cacheDnsNumberServers OBJECT-TYPE
  631.                 SYNTAX Counter32
  632.                 MAX-ACCESS read-only
  633.                 STATUS current
  634.         ::= { cacheDns 3 } 
  635.     
  636. --
  637. -- cacheMesh group
  638. --
  639.  
  640.     cachePeerTable OBJECT-TYPE
  641.         SYNTAX SEQUENCE OF CachePeerEntry
  642.         MAX-ACCESS read-only
  643.         STATUS current
  644.         DESCRIPTION
  645.             " This table contains an enumeration of
  646.               the peer caches, complete with info "
  647.         ::= { cacheMesh 1 }
  648.  
  649.     cachePeerEntry OBJECT-TYPE
  650.         SYNTAX CachePeerEntry
  651.         MAX-ACCESS not-accessible
  652.         STATUS current
  653.         DESCRIPTION 
  654.             " An entry in cachePeerTable " 
  655.         INDEX     { cachePeerAddr }
  656.     ::= { cachePeerTable 1 }
  657.  
  658.     CachePeerEntry ::= SEQUENCE {
  659.       cachePeerName        DisplayString,
  660.       cachePeerAddr      IpAddress,
  661.       cachePeerPortHttp     Integer32 (1..65535),
  662.       cachePeerPortIcp    Integer32 (1..65535),
  663.       cachePeerType     Integer32,
  664.       cachePeerState    Integer32,
  665.       cachePeerPingsSent    Counter32,
  666.       cachePeerPingsAcked    Counter32,
  667.       cachePeerFetches    Counter32,
  668.       cachePeerRtt        Integer32,
  669.       cachePeerIgnored    Counter32,
  670.       cachePeerKeepAlSent    Counter32,
  671.       cachePeerKeepAlRecv    Counter32
  672.     }
  673.  
  674.     cachePeerName OBJECT-TYPE
  675.         SYNTAX DisplayString
  676.         MAX-ACCESS read-only
  677.         STATUS current
  678.         DESCRIPTION 
  679.               " The FQDN name or internal alias for the
  680.                       peer cache"
  681.     ::= { cachePeerEntry 1 } 
  682.  
  683.     cachePeerAddr OBJECT-TYPE
  684.                 SYNTAX IpAddress
  685.                 MAX-ACCESS read-only
  686.                 STATUS current
  687.         DESCRIPTION 
  688.             " The IP Address of the peer cache "
  689.         ::= { cachePeerEntry 2 }
  690.  
  691.     cachePeerPortHttp OBJECT-TYPE
  692.                 SYNTAX Integer32
  693.                 MAX-ACCESS read-only
  694.                 STATUS current
  695.         DESCRIPTION 
  696.             " The port the peer listens for HTTP requests "
  697.         ::= { cachePeerEntry 3 }
  698.  
  699.     cachePeerPortIcp OBJECT-TYPE
  700.                 SYNTAX Integer32
  701.                 MAX-ACCESS read-only
  702.                 STATUS current
  703.         DESCRIPTION 
  704.             " The port the peer listens for ICP requests 
  705.               should be 0 if not configured to send ICP requests "
  706.         ::= { cachePeerEntry 4 }
  707.  
  708.     cachePeerType OBJECT-TYPE
  709.                 SYNTAX INTEGER {
  710.                 none(0), 
  711.                 sibling(1), 
  712.                                 parent(2), 
  713.                 multicast(3)
  714.                                 }
  715.                 MAX-ACCESS not-accessible
  716.                 STATUS current
  717.                 DESCRIPTION 
  718.                         " Peer Type "
  719.     ::= { cachePeerEntry 5 } 
  720.  
  721.     cachePeerState OBJECT-TYPE
  722.                 SYNTAX INTEGER { 
  723.                 down(0), 
  724.                 up(1)
  725.                 }
  726.                 MAX-ACCESS read-only
  727.                 STATUS current
  728.         DESCRIPTION 
  729.             " The operational state of this peer "
  730.         ::= { cachePeerEntry 6 }
  731.  
  732.         cachePeerPingsSent OBJECT-TYPE
  733.                 SYNTAX Counter32
  734.                 MAX-ACCESS read-only
  735.                 STATUS current
  736.         DESCRIPTION 
  737.             " Number of pings sent to peer "
  738.         ::= { cachePeerEntry 7 }
  739.  
  740.         cachePeerPingsAcked OBJECT-TYPE
  741.                 SYNTAX Counter32
  742.                 MAX-ACCESS read-only
  743.                 STATUS current
  744.         DESCRIPTION 
  745.             " Number of pings received from peer "
  746.         ::= {  cachePeerEntry 8 }
  747.  
  748.         cachePeerFetches OBJECT-TYPE
  749.                 SYNTAX Counter32
  750.                 MAX-ACCESS read-only
  751.                 STATUS current
  752.         DESCRIPTION 
  753.             " Number of times this peer was selected  "
  754.         ::= { cachePeerEntry 9 }
  755.  
  756.         cachePeerRtt OBJECT-TYPE
  757.                 SYNTAX Integer32
  758.                 MAX-ACCESS read-only
  759.                 STATUS current
  760.         DESCRIPTION 
  761.             " Last known round-trip time to the peer (in ms) "
  762.         ::= { cachePeerEntry 10 }
  763.  
  764.         cachePeerIgnored OBJECT-TYPE
  765.                 SYNTAX Counter32
  766.                 MAX-ACCESS read-only
  767.                 STATUS current
  768.         DESCRIPTION 
  769.             " How many times this peer was ignored "
  770.         ::= { cachePeerEntry 11 }
  771.  
  772.         cachePeerKeepAlSent OBJECT-TYPE
  773.                 SYNTAX Counter32
  774.                 MAX-ACCESS read-only
  775.                 STATUS current
  776.         DESCRIPTION 
  777.             " Number of keepalives sent "
  778.         ::= { cachePeerEntry 12 }
  779.  
  780.         cachePeerKeepAlRecv OBJECT-TYPE
  781.                 SYNTAX Counter32
  782.                 MAX-ACCESS read-only
  783.                 STATUS current
  784.         DESCRIPTION 
  785.             " Number of keepalives received "
  786.         ::= { cachePeerEntry 13 }
  787.  
  788. ---
  789. --- Table of cache's clients, with statistics. Children caches can be identified
  790. --- by non-zero number of ICP requests (unless browsers start using ICP).
  791. ---    
  792.  
  793.         cacheClientTable OBJECT-TYPE
  794.            SYNTAX  SEQUENCE OF cacheClientEntry
  795.            ACCESS  not-accessible
  796.            STATUS  mandatory
  797.            DESCRIPTION
  798.                     "A list of cache client entries."
  799.            ::= { cacheMesh 2 }
  800.  
  801.     cacheClientEntry OBJECT-TYPE
  802.            SYNTAX CacheClientEntry
  803.            ACCESS  not-accessible
  804.            STATUS  mandatory
  805.            DESCRIPTION
  806.                     "An entry in cacheClientTable"
  807.        INDEX { cacheClientAddr }
  808.     ::= { cacheClientTable 1 }
  809.  
  810.     CacheClientEntry ::= SEQUENCE {
  811.                    cacheClientAddr     IpAddress
  812.                    cacheClientHttpRequests    Counter32,
  813.                    cacheClientHttpKb     Counter32,
  814.                    cacheClientHttpHits     Counter32,
  815.                    cacheClientHTTPHitKb    Counter32,
  816.         cacheClientIcpRequests    Counter32,
  817.         cacheClientIcpKb     Counter32,
  818.                    cacheClientIcpHits     Counter32,
  819.                    cacheClientIcpHitKb    Counter32
  820.     }
  821.  
  822.     cacheClientAddr OBJECT-TYPE
  823.                 SYNTAX IpAddress
  824.                 MAX-ACCESS read-only
  825.                 STATUS current
  826.                DESCRIPTION
  827.                     "The client's IP address "
  828.         ::= { cacheClientEntry 1 }
  829.  
  830.     cacheClientHttpRequests OBJECT-TYPE
  831.                 SYNTAX Counter32
  832.                 MAX-ACCESS read-only
  833.                 STATUS current
  834.                DESCRIPTION
  835.                     " Number of HTTP requests received from client "
  836.         ::= { cacheClientEntry 2 }
  837.  
  838.     cacheClientHttpKb OBJECT-TYPE
  839.                 SYNTAX Counter32
  840.                 MAX-ACCESS read-only
  841.                 STATUS current
  842.                DESCRIPTION
  843.                     " Amount of total HTTP traffic to this client  "
  844.         ::= { cacheClientEntry 3 }
  845.  
  846.         cacheClientHttpHits OBJECT-TYPE
  847.                 SYNTAX Counter32
  848.                 MAX-ACCESS read-only
  849.                 STATUS current
  850.                DESCRIPTION
  851.                     " Number of hits in response to this client's HTTP requests "
  852.         ::= { cacheClientEntry 4 }
  853.  
  854.         cacheClientHTTPHitKb OBJECT-TYPE
  855.                 SYNTAX Counter32
  856.                 MAX-ACCESS read-only
  857.                 STATUS current
  858.                DESCRIPTION
  859.                     " Amount of HTTP hit traffic in KB "
  860.         ::= { cacheClientEntry 5 }
  861.  
  862.     cacheClientIcpRequests OBJECT-TYPE
  863.                 SYNTAX Counter32
  864.                 MAX-ACCESS read-only
  865.                 STATUS current
  866.                DESCRIPTION
  867.                     " Number of ICP requests received from client "
  868.         ::= { cacheClientEntry 6 }
  869.  
  870.     cacheClientIcpKb OBJECT-TYPE
  871.                 SYNTAX Counter32
  872.                 MAX-ACCESS read-only
  873.                 STATUS current
  874.                DESCRIPTION
  875.                     " Amount of total ICP traffic to this client (child) "
  876.         ::= { cacheClientEntry 7 }
  877.  
  878.         cacheClientIcpHits OBJECT-TYPE
  879.                 SYNTAX Counter32
  880.                 MAX-ACCESS read-only
  881.                 STATUS current
  882.                DESCRIPTION
  883.                     " Number of hits in response to this client's ICP requests "
  884.         ::= { cacheClientEntry 8 }
  885.  
  886.         cacheClientIcpHitKb OBJECT-TYPE
  887.                 SYNTAX Counter32
  888.                 MAX-ACCESS read-only
  889.                 STATUS current
  890.                DESCRIPTION
  891.                     " Amount of ICP hit traffic in KB "
  892.         ::= { cacheClientEntry 9 }
  893.  
  894.     -- end of cacheClientTable
  895.   
  896.  
  897.     -- end of cacheMesh group
  898.  
  899. -- end of SQUID-MIB
  900. --
  901. END
  902.